export const barChart3D_staticData = {
  data: [
    {
      name: "data1",
      value: [
        [111, 111, 111],
        [222, 222, 222],
        [333, 333, 333],
        [444, 444, 444],
      ],
    },
    {
      name: "data2",
      value: [
        [555, 555, 555],
        [666, 666, 666],
        [777, 777, 777],
        [888, 888, 888],
      ],
    },
  ],
};

export const barChart3D = {
  xAxis3D: {
    type: "value",
    show: true,
    name: "X",
    axisLine: {
      show: true,
      lineStyle: {
        color: "#ccc",
        opacity: 1,
        width: 2,
      },
    },
    axisTick: {
      show: true,
    },
    axisLabel: {
      show: true,
      textStyle: {
        color: "#ccc",
        fontSize: 12,
      },
    },
    splitLine: {
      show: true,
    },
  },
  yAxis3D: {
    type: "value",
    show: true,
    name: "Y",
    axisLine: {
      show: true,
      lineStyle: {
        color: "#ccc",
        opacity: 1,
        width: 2,
      },
    },
    axisTick: {
      show: true,
    },
    axisLabel: {
      show: true,
      textStyle: {
        color: "#ccc",
        fontSize: 12,
      },
    },
    splitLine: {
      show: true,
    },
  },
  zAxis3D: {
    name: "Z",
    type: "value",
    show: true,
    axisLine: {
      show: true,
      lineStyle: {
        color: "#ccc",
        opacity: 1,
        width: 2,
      },
    },
    axisTick: {
      show: true,
    },
    axisLabel: {
      show: true,
      textStyle: {
        color: "#ccc",
        fontSize: 12,
      },
    },
    splitLine: {
      show: true,
    },
  },
  grid3D: {
    viewControl: {
      projection: "orthographic",
    },
  },
  series: [
    {
      name: barChart3D_staticData.data[0].name,
      type: "bar3D",
      symbol: "none", // 默认是空心圆（中间是白色的），改成实心圆
      symbolSize: 4,
      smooth: true,

      emphasis: {
        disabled: true,
        focus: "none",
      },
      label: {
        show: true,
        position: "top",
        color: "#fff",
        fontSize: 22,
      },
      lineStyle: {
        width: 3,
        type: "solid",
      },
      areaStyle: {
        opacity: 0,
      },
      data: barChart3D_staticData.data[0].value,
    },
    {
      name: barChart3D_staticData.data[1].name,
      type: "bar3D",
      symbol: "none", // 默认是空心圆（中间是白色的），改成实心圆
      symbolSize: 4,
      smooth: true,

      emphasis: {
        disabled: true,
        focus: "none",
      },
      label: {
        show: true,
        position: "top",
        color: "#fff",
        fontSize: 22,
      },
      lineStyle: {
        width: 3,
        type: "solid",
      },
      areaStyle: {
        opacity: 0,
      },
      data: barChart3D_staticData.data[1].value,
    },
  ],
};
